package org.example.runafterstart.postConstructs;

import jakarta.annotation.PostConstruct;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Description:
 */

@Component
@Slf4j
public class PostConstructTest {

    @PostConstruct
    public void inti1() {
        log.info("@PostConstruct 方法1执行...");
    }

    @PostConstruct
    public void inti2() {
        log.info("@PostConstruct 方法2执行...");
    }
}
